<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>氦闪</title>
    <link rel="icon" href="__PUBLIC__/web/images/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="__PUBLIC__/web/css/public.css">
    <link rel="stylesheet" href="__PUBLIC__/web/css/difficulty.css">
</head>
<body>
<header>
    <include file="Index/header"/>
</header>


<include file="Index/left"/>

<section>
    <div class="ly-content ly-cent">
        <div class="ly-title">
            购买疑难
        </div>
        <ul class="ly-li">
            <dl>
                <div class="ly-h2">常见问题</div>
                <div class="ly-show">
                    {$problem}
                </div>
            </dl>
            <dl>
                <div class="ly-h2">支付</div>
                <div class=" ly-show">
                    {$pay}
                </div>
            </dl>
            <dl>
                <div class="ly-h2">配送</div>
                <div class=" ly-show">
                   {$deliver}
                </div>
            </dl>
            <dl>
                <div class="ly-h2">售后服务</div>
                <div class=" ly-show">
                    {$sale_service}
                </div>
            </dl>
        </ul>
    </div>
    <include file="Index/footer"/>
</section>
<div class="ly-menu-nav" data-id="1">
    <img src="__PUBLIC__/web/images/icon_menu.png" />
</div>
</body>
<script src="__PUBLIC__/web/js/jquery.min.js"></script>
<script src="__PUBLIC__/web/js/public.js"></script>

<script>
    $(".ly-li dl").eq(0).addClass("ly-cation");
    $(".ly-li").on("click", "dl", function () {
        $(this).addClass("ly-cation").siblings().removeClass("ly-cation")
    })

    function getQueryString(name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
        var r = window.location.search.substr(1).match(reg);
        if (r != null) return unescape(r[2]);
        return null;
    }

    window.onload = function () {
        var id = getQueryString("id");
        $(".ly-li dl").removeClass("ly-cation");
        $(".ly-li dl").eq(id).addClass("ly-cation");
    }
</script>
</html>





